<!DOCTYPE html>
<html>
  <head>
    <title>注册</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
    <link rel='stylesheet' href='/lib/bootstarp/dist/css/bootstrap.min.css' />

  </head>
  <body>
  		<%- include header %>
   		<div class="contianer-fluid" >
			<div class="row">
				<div class="col-md-7 col-md-offset-3 well " id="container_box">
					
					<div class="col-md-7 col-md-offset-5" >
							<h2 class="login_title">账号注册</h2>
							<form name="registerForm" action='./users/register' method="post">
								<div class="input-group">
									<div class="input-group-addon">
										<i class="glyphicon glyphicon-user"></i>
									</div>
									<input type="text" class="form-control" placeholder="用户名" name="username" required ng-model="user.username">
								</div>
								<div class="input-group login_password">
									<div class="input-group-addon bg_fff">
										<i class="glyphicon glyphicon-lock"></i>
									</div>
									<input type="password" class="form-control" placeholder="登录密码" name="password" required ng-model="user.password">
								</div>
								<!--
								 <div class="input-group login_password">
									<div class="input-group-addon bg_fff">
										<i class="glyphicon glyphicon-lock"></i>
									</div>
									<input type="password" class="form-control" placeholder="确认密码" name="repeat-password" required ng-model="user.password">
								</div> 
								-->
								<div style="margin-top:10px">
		  					  		<a href="/login" class="btn_register">如已有账号，请直接登录</a>
				  				</div>
								<div class="btn_register">
									<input type="submit" value="注册" class="btn btn-success btn-block"  ng-click="register()">
								</div>
							</form>
					</div>
				</div>
			</div>	
		</div>

  </body>	
</html>
